// src/main/java/com/macro/mall/tiny/modules/pms/dto/ProductSkuQueryParam.java
package com.macro.mall.tiny.modules.pms.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "商品SKU查询参数")
public class ProductSkuQueryParam {

    @Schema(description = "关键字(标题或编码)")
    private String keyword;

    @Schema(description = "SKU ID")
    private Integer skuId;

    @Schema(description = "商品编码")
    private String skuCode;

    @Schema(description = "属性值")
    private String pvValue;

    @Schema(description = "最低价格")
    private BigDecimal minPrice;

    @Schema(description = "最高价格")
    private BigDecimal maxPrice;

    @Schema(description = "创建开始时间")
    private LocalDateTime createTimeFrom;

    @Schema(description = "创建结束时间")
    private LocalDateTime createTimeTo;

    @Schema(description = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页条数", defaultValue = "5")
    private Integer pageSize = 5;
}
